furny.swing.admin.viewer
Class ModelViewerState.ChaseCam2

java.lang.Object
  extended by com.jme3.input.ChaseCamera
      extended by furny.swing.admin.viewer.ModelViewerState.ChaseCam2
All Implemented Interfaces:
com.jme3.export.Savable, com.jme3.input.controls.ActionListener, com.jme3.input.controls.AnalogListener, com.jme3.input.controls.InputListener, com.jme3.scene.control.Control
Enclosing class:
ModelViewerState

private final class ModelViewerState.ChaseCam2
extends com.jme3.input.ChaseCamera

Extended ChaseCamera that allows to set the zoom speed.

Since:
12.08.2012
Author:
Stephan Dreyer

Field Summary
 
Fields inherited from class com.jme3.input.ChaseCamera
cam, canRotate, ChaseCamDown, ChaseCamMoveLeft, ChaseCamMoveRight, ChaseCamToggleRotate, ChaseCamUp, ChaseCamZoomIn, ChaseCamZoomOut, chasing, chasingSensitivity, distance, distanceLerpFactor, dragToRotate, enabled, initialUpVec, inputManager, invertXaxis, invertYaxis, leftClickRotate, lookAtOffset, maxDistance, maxVerticalRotation, minDistance, minVerticalRotation, offsetDistance, pos, previousTargetRotation, prevPos, rightClickRotate, rotating, rotation, rotationLerpFactor, rotationSensitivity, rotationSpeed, smoothMotion, target, targetDir, targetDistance, targetLocation, targetMoves, targetRotation, targetVRotation, temp, trailing, trailingEnabled, trailingLerpFactor, trailingRotationInertia, trailingSensitivity, veryCloseRotation, vRotating, vRotation, vRotationLerpFactor, zoomin, zooming, zoomSensitivity, zoomSpeed
 
Constructor Summary
ModelViewerState.ChaseCam2(com.jme3.renderer.Camera cam, com.jme3.scene.Node target, com.jme3.input.InputManager inputManager)
          Instantiates a new chase cam 2.
 
Method Summary
 void setZoomSpeed(float zoomSpeed)
          Sets the zoom speed.
 
Methods inherited from class com.jme3.input.ChaseCamera
cloneForSpatial, computePosition, getChasingSensitivity, getDistanceToTarget, getDownRotateOnCloseViewOnly, getHorizontalRotation, getLookAtOffset, getMaxDistance, getMaxVerticalRotation, getMinDistance, getMinVerticalRotation, getRotationSensitivity, getTrailingRotationInertia, getTrailingSensitivity, getUpVector, getVerticalRotation, getZoomSensitivity, isDragToRotate, isEnabled, isSmoothMotion, isTrailingEnabled, onAction, onAnalog, read, registerWithInput, render, rotateCamera, setChasingSensitivity, setDefaultDistance, setDefaultHorizontalRotation, setDefaultVerticalRotation, setDownRotateOnCloseViewOnly, setDragToRotate, setEnabled, setInvertHorizontalAxis, setInvertVerticalAxis, setLookAtOffset, setMaxDistance, setMaxVerticalRotation, setMinDistance, setMinVerticalRotation, setRotationSensitivity, setSmoothMotion, setSpatial, setToggleRotationTrigger, setTrailingEnabled, setTrailingRotationInertia, setTrailingSensitivity, setUpVector, setZoomInTrigger, setZoomOutTrigger, setZoomSensitivity, update, updateCamera, vRotateCamera, write, zoomCamera
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelViewerState.ChaseCam2

public ModelViewerState.ChaseCam2(com.jme3.renderer.Camera cam,
                                  com.jme3.scene.Node target,
                                  com.jme3.input.InputManager inputManager)
Instantiates a new chase cam 2.

Parameters:
cam - the cam
target - the target
inputManager - the input manager
Since:
12.08.2012
Method Detail

setZoomSpeed

public void setZoomSpeed(float zoomSpeed)
Sets the zoom speed.

Parameters:
zoomSpeed - the new zoom speed
Since:
12.08.2012